#include <PrintTraps.h>
typedef struct TPrStatus { Size Offset Description short iTotPages; 2 0 Total pages in spool file
short iCurPage; 2 2 Page currently being printed
(1-based)
short iTotCopies; 2 4 Total copies requested
short iCurCopy; 2 6 Current copy (1-based)
short iTotBands; 2 8 Total bands per page
short iCurBand; 2 10 Band currently being printed
Boolean fPgDirty; 1 12 TRUE if printing has started for this page
call
THPrint hPrint; 4 14 Leads to active print record. See TPPrPort pPrPort; 4 18 Addr of active printer port. See typedef TPrStatus *TPPrStatus;